<?php
/*
	[BuyPg] (C) 2010-2011 Buypg
	$Id: YouhuiClassRecommendModel.class.php 2012-02-16 10:38:08 wufujun
*/

if (!defined('THINK_PATH')) {
	exit('Access Denied');
}

class YouhuiClassRecommendModel extends CommonModel{
	//自动验证
	protected $_validate = array(
		array('title','require','推荐名称不能为空',0),
		array('cid','require','分类不能为空',0),
	);
	
	protected $_auto = array(
		array('dateline' , 'time' ,1, 'function'),
		array('link' , 'urlencode', 1, 'function'),
	);
}
?>
